package com.yun.zhong.fu.sharecenter.dao;

import com.yun.zhong.fu.sharecenter.entity.MidUserShare;
import com.yun.zhong.fu.sharecenter.entity.Share;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author renpu
 */
@Mapper
public interface ShareDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Share share);

    int insertSelective(Share share);

    Share selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Share share);

    int updateByPrimaryKey(Share share);

    List<Share> likeQueryData(@Param("title") String title);

}